package com.czmh.etc.onlinepubsys.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by Huangyk on 2019/6/25.
 */
@ApiModel("后台系统管理员发货ETC设备请求参数")
public class DeliverETCEquipmentRequest {

    @ApiModelProperty(notes = "后台系统，发货人员的UserId")
    private Integer deliverUserId;

    @ApiModelProperty(notes = "后台系统，发货的时间")
    private Date deliverTime;

    @ApiModelProperty(notes = "后台系统，ETC设备发货的明细列表")
    private List<DeliverETCDetail> detailList;

    //region getter && setter
    public List<DeliverETCDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<DeliverETCDetail> detailList) {
        this.detailList = detailList;
    }

    public Integer getDeliverUserId() {
        return deliverUserId;
    }

    public void setDeliverUserId(Integer deliverUserId) {
        this.deliverUserId = deliverUserId;
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }
    //endregion

    @ApiModel("后台系统管理员发货ETC设备明细信息")
    public class DeliverETCDetail{
        @ApiModelProperty(notes = "发货的订单号（orderId）")
        private String orderId;

        @ApiModelProperty(notes = "发货的物流快递单号")
        private String expressNo;

        //region getter && setter
        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getExpressNo() {
            return expressNo;
        }

        public void setExpressNo(String expressNo) {
            this.expressNo = expressNo;
        }
        //endregion
    }
}